From 891143e3217e4d43994feb729fdc84a6e3acffe7 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 14 Dec 2007 10:16:52 +0000 Subject: [PATCH] tools: Some fixes for 'make clean'. Signed-off-by: Kurt Hackel --- tools/libfsimage/Rules.mk | 2 +- tools/libfsimage/common/Makefile | 2 +- tools/libxc/Makefile | 3 ++- tools/python/Makefile | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/tools/libfsimage/Rules.mk b/tools/libfsimage/Rules.mk index 9d49c6373d..ca6380a4a1 100644 --- a/tools/libfsimage/Rules.mk +++ b/tools/libfsimage/Rules.mk @@ -27,6 +27,6 @@ $(FSLIB): $(PIC_OBJS) $(CC) $(CFLAGS) $(LDFLAGS) $(SHLIB_CFLAGS) -o $@ $^ -lfsimage $(FS_LIBDEPS) clean distclean: - rm -f $(PIC_OBJS) $(FSLIB) + rm -f $(PIC_OBJS) $(FSLIB) $(DEPS) -include $(DEPS) diff --git a/tools/libfsimage/common/Makefile b/tools/libfsimage/common/Makefile index 6efce44f02..5c22fa974d 100644 --- a/tools/libfsimage/common/Makefile +++ b/tools/libfsimage/common/Makefile @@ -32,7 +32,7 @@ install: all $(INSTALL_DATA) fsimage_grub.h $(DESTDIR)/usr/include clean distclean: - rm -f $(PIC_OBJS) $(LIB) + rm -f $(PIC_OBJS) $(LIB) $(DEPS) libfsimage.so: libfsimage.so.$(MAJOR) ln -sf $< $@ diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile index 3c9899d152..618b371615 100644 --- a/tools/libxc/Makefile +++ b/tools/libxc/Makefile @@ -125,7 +125,8 @@ TAGS: clean: rm -rf *.rpm $(LIB) *~ $(DEPS) xen \ $(CTRL_LIB_OBJS) $(CTRL_PIC_OBJS) \ - $(GUEST_LIB_OBJS) $(GUEST_PIC_OBJS) + $(GUEST_LIB_OBJS) $(GUEST_PIC_OBJS) \ + $(LIBELF_SRCS) libelf-private.h .PHONY: rpm rpm: build diff --git a/tools/python/Makefile b/tools/python/Makefile index 880a19c9ff..21be26b99b 100644 --- a/tools/python/Makefile +++ b/tools/python/Makefile @@ -104,4 +104,4 @@ test: .PHONY: clean clean: - rm -rf build *.pyc *.pyo *.o *.a *~ $(CATALOGS) xen/util/xsm/xsm.py + rm -rf build *.pyc *.pyo *.o *.a *~ $(CATALOGS) xen/util/xsm/xsm.py xen/util/auxbin.pyc -- 2.30.2